SUBROUTINE HELLOWORLD
     * Display the text 'Hello World'

     * Include the RealWeb definitions
     INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP

     * Start the HTML page.
     *   Display the text 'Hello World' in the browser's title bar.
     CALL RW_START_HTML_PAGE("Hello World", "", "", "", "")

     * Insert a paragraph containing the required text.
     CALL RW_START_PARA("", "")
     CALL RW_PUT("Hello World")
     CALL RW_END_PARA

     * Complete the page.
     CALL RW_END_PAGE
RETURN

Go to top button